/*
 * @Author: thinker_cy
 * @Date: 2025-07-02 18:33:56
 * @FilePath: \weimai-admin\src\api\index.js
 * @Description: api接口统一管理
 */
import request from '@/config/axios.js'

export default {
  // 登录
  login: async (params) => {
    return await request.post('/wmyl/login', params)
  },
  // 数据列表
  getCluePage: async (params) =>{
    return await request.post('/page-clue', params)
  },
  // 上报请求（页面登录/刷新页面）
  getUpdateStatistics: async (params) =>{
    return await request.post('/statistics?timestamp=' + params)
  },
}